import request from '@/router/axios';

export const getList = (current, size, params, deptId) => {
  return request({
    url: '/api/smart-xapply/grid/userNormal/userNormalList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
      deptId,
    }
  })
}



export const getPatrolList = (current, size, userId,beginDate,endDate) => {
  return request({
    url: '/api/smart-xapply/grid/userNormal/getPatrolList',
    method: 'get',
    params: {
      current,
      size,
      userId,
      beginDate,
      endDate
    }
  })
}

export const getConflictsList = (current, size, userId,beginDate,endDate) => {
  return request({
    url: '/api/smart-xapply/grid/userNormal/getConflictsList',
    method: 'get',
    params: {
      current,
      size,
      userId,
      beginDate,
      endDate
    }
  })
}